<!-- 主页-报价协议-查看 -->
<section id="container">
	<!--main content start-->
	<section id="main-content">
		<section class="wrapper">
			<!--state overview end-->
			<div class="row">
				<div class="col-lg-12">
					<section class="panel">
						<header class="panel-heading">
							本协议内购买的物品清单(显示提交报价协议时勾选的条目)
						</header>
						<div class="panel-body">
							<div id="purchaselistContainer" class="dlshouwen-grid-container"></div>
							<div id="purchaselistToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
						</div>
					</section>

					<section class="panel">
						<div class="panel-body">
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">比价单*</label>
								<div class="col-sm-10">
									<input type="text" class="form-control" disabled placeholder="自动检索" ng-model="agreement.pcsCode">
								</div>
							</div>
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">供应商名称*</label>
								<div class="col-sm-10">
									<input type="text" class="form-control" disabled placeholder="自动检索" ng-model="agreement.supplierName">
								</div>
							</div>
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">归属分公司*</label>
								<div class="col-sm-10">
									<input type="text" class="form-control" disabled placeholder="自动检索"
										ng-model="agreement.affiliateName">
								</div>
							</div>
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">合同编号</label>
								<div class="col-sm-10">
									<input type="text" class="form-control" certus-an-limit-length="50" certus-required disabled
										ng-model="agreement.contractCode">
								</div>
							</div>
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">价格(含税&折扣)*</label>
								<div class="col-sm-10">
									<input type="text" class="form-control" disabled ng-model="agreement.priceDiscount">
								</div>
							</div>
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">交货期</label>
								<div class="col-sm-10">
									<input type="text" class="form-control" disabled certus-required ng-model="agreement.deliveryDate">
								</div>
							</div>
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">质保期*</label>
								<div class="col-sm-10">
									<input type="text" class="form-control" disabled ng-model="agreement.guaranteeDate">
								</div>
							</div>
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">付款方式</label>
								<div class="col-sm-10">
									<input type="text" class="form-control" disabled certus-required ng-model="agreement.paymentMethod">
								</div>
							</div>
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">留言</label>
								<div class="col-sm-10">
									<textarea class="form-control"  maxlength="120"  disabled ng-model="agreement.agreementMsg"></textarea>
								</div>
							</div>
							<div class="form-group customerForm">
								<label class="col-sm-2 control-label">文件下载*</label>
								<div class="col-sm-10">
									<a class="upload-icon" ng-click="downloadAgreement();">协议文件下载</a>
								</div>
							</div>
						</div>
					</section>

					<section class="panel">
						<div class="panel-heading">
							审批记录
						</div>
						<div class="panel-body">
							<ul class="tp-ulst">
								<li>
									<span>人员姓名 </span><span>修改时间</span><span>处理结果</span>
								</li>
								<div ng-repeat="ss in processs">
									<li>
										<span>{{ss.USER}}</span><span>{{ss.time | date:'yyyy-MM-dd hh:mm'}}</span><span>{{getsssbbb(ss.lastStatus)}}，{{ss.msg}}</span>
									</li>
								</div>
							</ul>
						</div>
					</section>
					<section class="panel">
						<header class="panel-heading">审批意见</header>
						<div class="panel-body">
							<div class="form-group customerForm">
								<textarea class="form-control"  maxlength="120"  certus-required ng-model="agreementStep.opinionMsg"></textarea>
							</div>

						</div>
					</section>

					<section class="panel">
						<div class="panel-body">
							<p class="default-buttons">
								<a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
								<a href="javascript:void(0);" class="button-back btn btn-danger btn-l10"
									ng-click="agreementShutdown()">终止</a>
								<a href="javascript:void(0);" class="button-next  btn btn-success" ng-click="agreementAgree()">确认</a>
							</p>
						</div>
					</section>

				</div>
			</div>
		</section>
	</section>
	<!--main content end-->
</section>
<script type="text/javascript" src="js/agreement/agreement.js"></script>
<script src="js/workflow/CGXYLC/agreementExamine.js"></script>